package com.newer.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel(value="com-newer-domain-Plan")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_plan")
public class Plan {
    @TableId(value = "planId", type = IdType.INPUT)
    @ApiModelProperty(value="")
    private String planid;

    @TableField(value = "userId")
    @ApiModelProperty(value="")
    private Integer userid;

    @TableField(value = "supplierId")
    @ApiModelProperty(value="")
    private Integer supplierid;

    @TableField(value = "sumCount")
    @ApiModelProperty(value="")
    private Integer sumcount;

    @TableField(value = "sumPrice")
    @ApiModelProperty(value="")
    private Double sumprice;

    @TableField(value = "approver")
    @ApiModelProperty(value="")
    private String approver;

    @TableField(value = "remark")
    @ApiModelProperty(value="")
    private String remark;

    @TableField(value = "planDate")
    @ApiModelProperty(value="")
    private Date plandate;

    @TableField(value = "planState")
    @ApiModelProperty(value="")
    private String planstate;

    //供应商
    private Supplier supplier;

    //用户
    private User user;


}